package cn.lr.org.domain;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.lr.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;

@Data
public class Shop extends BaseDomain {
    @Excel(name = "店铺名字" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String name;
    @Excel(name = "店铺电话" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String tel;
    @Excel(name = "店铺注册时间" ,orderNum = "1", width = 30, isImportField = "true_st", exportFormat="yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date registerTime = new Date();
    @Excel(name = "店铺状态" ,orderNum = "1", width = 30, isImportField = "true_st")
    private Integer state = 0;
    @Excel(name = "店铺地址" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String address;
    @Excel(name = "店铺店招" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String logo;
    private Long admin_id;
    private Employee admin;
}
